package io.bsly.modules.app.pojo;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@ApiModel
@Data
public class RoomTypeFrom {
    //酒店Id
    @NotNull(message = "hotelId 不能为空")
    private Integer hotelId;
    //含餐情况
    @NotEmpty(message = "meals 不能为空")
    private List<String> meals;

    @NotEmpty(message = "入住日期")
    private String inDate;

    @NotEmpty(message = "离店日期")
    private String outDate;

}
